﻿using BLL;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace WeChat
{
    public partial class Updaterfkh : System.Web.UI.Page
    {
	protected void Page_Load(object sender, EventArgs e)
	{
	    //获取Opid
	    string Opid = Session["openid"] == null ? "" : Session["openid"].ToString();
	    if (!IsPostBack)
	    {
		if (Opid == "")
		{
		    Response.Redirect("Binding.aspx");
		}
		else if (BindIdBLL.BinDingRfkh(Opid) == 1)
		{
		    Response.Redirect("index.html");
		}
	    }
	}
    }
}
